//
//  PKHotlistButton.m
//  PianKe
//
//  Created by ybq on 15/12/26.
//  Copyright © 2015年 B7_Young. All rights reserved.
//

#import "PKHotlistButton.h"

@implementation PKHotlistButton

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _bestImageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, -5, 30, 30)];
        _bestImageView.image = [UIImage imageNamed:@"best"];
        [self addSubview:_bestImageView];
    }
    return self;
    
}

@end
